home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
graphic
/
tpega.zip
/
GPCLIP1.P
< prev
next >
Wrap
Text File
|
1986-01-11
|
1KB
|
18 lines
{ }
{ EGA Graphic Primitive for Turbo Pascal 3.01A, Version 10JAN86. }
{ (C) 1986 by Kent Cedola, 2015 Meadow Lake Ct., Norfolk, VA, 23518 }
{ }
{ Description: The single point clip and scale routine is not a true }
{ graphic primitive because in must be included with other code in a }
{ procedure (or function). The variables X1,Y1 and OUTSIDE must be }
{ defined on the local stack and the window and viewport variables }
{ are global (include file WORLD.P). }
{ }
inline
($8B/$4E/<X1/$8B/$5E/<Y1/$3B/$0E/>GD_WD_X1/$72/$40/$3B/$0E/>GD_WD_X2/$77/
$3A/$3B/$1E/>GD_WD_Y1/$72/$34/$3B/$1E/>GD_WD_Y2/$77/$2E/$8B/$C1/$2B/$06/
>GD_WD_X1/$F7/$26/>GD_VW_X3/$F7/$36/>GD_WD_X3/$03/$06/>GD_VW_X1/$89/$46/
<X1/$8B/$C3/$2B/$06/>GD_WD_Y1/$F7/$26/>GD_VW_Y3/$F7/$36/>GD_WD_Y3/$03/$06/
>GD_VW_Y1/$89/$46/<Y1/$32/$C0/$EB/$02/$B0/$FF/$88/$46/<OUTSIDE);